package com.bto.solar.work.dto.order;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.bto.solar.work.dto.FormBtnsDto;
import com.bto.solar.work.entity.OrderState;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.sql.Timestamp;

/**
 * @author 王小波
 * @description:  预审信息返回体
 * @date 2023/8/11 10:26
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class PreApprovalDto {
    @ApiModelProperty("订单ID")
    private String orderId;

    @ApiModelProperty("客户名字")
    private String name;

    @ApiModelProperty("客户类型（0：个人，1：企业/组织）--待商议")
    private Byte ddCustomerType;

    @ApiModelProperty("客户电话")
    private String phone;

    @ApiModelProperty("证件类型")
    private Integer idCardType;

    @ApiModelProperty("客户身份证号")
    private String idNumber;

    @ApiModelProperty("信息使用授权书")
    private String authorizationLetter;

    @ApiModelProperty("销售员")
    private String salesman;

    @ApiModelProperty("销售电话")
    private String saleTelephone;


    @ApiModelProperty("有无保证人(1：有；2：无)")
    private Byte isSurety;


    @ApiModelProperty("已签约任务id  null 未签约 1 作废")
    private String fddSignTaskId;

    @ApiModelProperty("签约方式(APP - 签约，SMS - 短信签约)")
    private String signingType;


    @TableField(fill = FieldFill.INSERT)
    private Timestamp createTime;


    @ApiModelProperty("任务状态")
    private OrderState orderState;

    @ApiModelProperty("按钮信息")
    private FormBtnsDto btns;



}
